1 <?php
2 include(
"header.php");
3 include(
"sidebar.php");
4 include(
"dbconnection.php");
5 $dt1 = date(
"Y");
6 $dt2 = date(
"m");
7
8 $sql = mysql_query(
"select * from vehiclestore where vehicleid=$_GET[vahicleid]");
9 $row = mysql_fetch_array($sql);
10 ?>
11                             
12         <div id=
"main">
13         <h3>Vehicle store</h3>
14
15         <form name=
"form1" method="post" action="vehiclestorebookpaid.php">
16         <input type=
"hidden" name="vahicleid" value="<?= $row['vehicleid']; ?>" /> <input type="hidden" name="vehprice" value="<?= $row['estprice']; ?>" />
17         <table width=
"538" border="1">
18           <tr>
19             <td width=
"268" colspan="2">
20             <p><img src=
"upload/<?= $row['images']; ?>" width="208" height="130" align="left" /><br />
21               <br />
22             </p></td>
23             <td width=
"246"><p><strong>Vehicle Name:</strong> <?= $row['vehname']; ?><br />
24               <strong>Model:</strong> <?= $row[
'model']; ?> <br />
25               <strong> Brand:</strong> <?= $row[
'brand']; ?><br />
26               <br />
27               <br />
28             </p></td>
29           </tr>
30           <tr>
31             <td height=
"47" colspan="2">Other Information</td>
32             <td><p><?= $row[
'description']; ?></p></td>
33           </tr>
34           <tr>
35             <td colspan=
"3"><strong>Estimated price: Rs.<?= $row['estprice']; ?></strong></td>
36           </tr>
37           <tr>
38             <td><strong>Comments</strong></td>
39             <td colspan=
"2"><label for="comments"></label>
40             <textarea name=
"comments" id="comments" cols="45" rows="5"></textarea></td>
41           </tr>
42           <tr>
43             <td colspan=
"2">&nbsp;</td>
44             <td><strong><input type=
"submit" name="submit" value="Submit" /><?php // echo"<a href='vehiclestorebookpaid1.php?vahicleidnum=$_GET[vahicleid]'>Pay now&gt;&gt;</a></strong></td>"; ?>
45           </strong></td> </tr>
46           </table>
47           </form>
48         </div>
49         
50 <!-- wrap ends here -->
51 </div>
52         
53 <?php
54 include(
"footer.php");
55 ?>


Gõ tìm kiếm nhanh...